Add missing ownership transfer annotations
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 26 Feb 2020 10:23:01 +0000 (10:23 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 26 Feb 2020 10:23:01 +0000 (10:23 +0000)
gdk/gdkapplaunchcontext.c
gdk/gdkevents.c

index 7a7e3956aea0a6edf117e2c64cd1a04bb1927a2d..b59e4f4adc8b6bcfeda6ab0a5a3e1ac40d4892cd 100644 (file)
@@ -179,7 +179,7 @@ gdk_app_launch_context_get_display_name (GAppLaunchContext *context,
  *
  * Gets the #GdkDispolat that @context is for.
  *
- * Returns: the display of @context
+ * Returns: (transfer none): the display of @context
  */
 GdkDisplay *
 gdk_app_launch_context_get_display (GdkAppLaunchContext *context)
index b316921c3ac88201623a5d23e5173e0d11550c4c..097198ef295909c51bdb4912f98ad16a76e15b3e 100644 (file)
@@ -2101,7 +2101,7 @@ gdk_drag_event_get_drop (GdkEvent *event)
  *
  * Extracts the grab surface from a grab broken event.
  *
- * Returns: the grab surface of @event
+ * Returns: (transfer none): the grab surface of @event
  **/
 GdkSurface *
 gdk_grab_broken_event_get_grab_surface (GdkEvent *event)